﻿@using OBUCare.Web.Models;
@using OBUCare.Core.Models ;
@model CheckBoxListValueViewModel<DICT_TYPE_VALUE>
@{
    ViewBag.Title = "TestCheckBoxList";
}

<h2>TestCheckBoxList</h2>

@using (Html.BeginForm("TestCheckBoxList", "RepairOrders", FormMethod.Get))
{
    @Html.CheckBoxList("TestCheckBoxList",
                        m => m.AvailableValues, 
                        m => m.ID, 
                        m => m.DICT_TITLE,
                        (CheckBoxListValueViewModel<DICT_TYPE_VALUE> m)=>m.SelectedValues
                     )

    <input class="green" type="submit" value="POST to controller" />
}



